using System;

namespace eNets.IO.Buf;

public interface IWritableBuffer<T>
{
    Memory<T> GetWritableSequence(int size);
    void WriterAdvance(int count);
    void Flush();
}